<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/mytaglib.tld" prefix="mytag" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<fmt:setBundle basename="ua.races.raceBundle"/>

<html>
<head>
    <c:set var="indexSite"><fmt:message key="index.title.site"/></c:set>
    <title><fmt:message key="index.title"><fmt:param value="${indexSite}"/></fmt:message></title>
</head>
<body>

<c:set var="pleaseText"><fmt:message key="index.please.login"/></c:set>
<h2 align="center">${pleaseText}</h2>
<form action="clientCheck.do"  method="POST">
    <table align="center">
        <tr>
            <td>email</td>
            <td><input type="text" name="email"/></td>
        </tr>
        <tr>
            <c:set var="passwordText"><fmt:message key="index.password"/></c:set>
            <td>${passwordText}</td>
            <td><input type="password" name="password"></td>
        </tr>
        <tr>
            <td></td>
            <c:set var="loginText"><fmt:message key="index.login"/></c:set>
            <td><input type="submit" value="${loginText}"/>
                <%--<c:set var="registrationText"><fmt:message key="index.loginForm.registration"/></c:set>--%>
                <%--<input name="registration" type="button" value="${registrationText}"--%>
                       <%--onclick="top.location.href='registration.jsp'"/>--%>
            </td>
    </table>

</form>
<h6 align="right">for admin's login please use <a href="staffEntry.jsp">this</a> page</h6>

</body>
</html>